package com.itsu.admin.service;

import com.itsu.admin.model.PageReq;
import com.itsu.admin.model.ListResult;
import com.itsu.admin.mvc.Result;

/**
 * @author Jerry.su
 * @Date 2022/1/2 16:55
 */
public interface TaskService {

    ListResult list(PageReq pageReq);

    Result changeStatus(String jobId, int status, String registerHost);

    Result runJob(String jobId, String registerHost);

    ListResult search(String key);
}
